Skip to content

feat(home): add consistent icons to the landing cards - #112

Merged
overtrue merged 1 commit into
mainfrom
docs-home-icons
Jul 16, 2026
Merged

feat(home): add consistent icons to the landing cards#112
overtrue merged 1 commit into
mainfrom
docs-home-icons

Conversation

@overtrue

Copy link
Copy Markdown
Collaborator

Summary

Adds a consistent set of monochrome line icons to the homepage landing cards. Previously the cards were text-only; each card now carries one semantically matched lucide-react icon in the standard Fumadocs card icon box.

Icon mapping

Card Icon
Quick Start Rocket
Run with Docker Container
What is RustFS? BookOpen
Architecture & Comparison Network
Usage Limits Gauge
Installation Guide Server
Production Checklists ClipboardCheck
Operations Activity
SDKs Code
Tool Examples Terminal
Reference Library

How

  • Register the eleven icons in press.config.tsx getMdxComponents so they're usable in MDX, then <Card icon={<Rocket />} …> in content/index.mdx.
  • One consistent line-icon family, applied to every card — no emoji, no mixed brand logos (kept the Docker card on an abstract Container icon rather than the Docker whale for visual consistency).

Convention

Documented in STYLE.md (and the rustfs-docs skill) so future landing grids follow the same rule.

npm run build ✓ (295 pages, all eleven lucide-* icons present in the built HTML); docs:check ✓.

Give every card on the docs homepage a monochrome line icon from
lucide-react (registered in press.config.tsx for use in MDX), one per
card, semantically matched:

  Quick Start → Rocket   Run with Docker → Container
  What is RustFS? → BookOpen   Architecture → Network   Usage Limits → Gauge
  Installation → Server   Checklists → ClipboardCheck   Operations → Activity
  SDKs → Code   Tool Examples → Terminal   Reference → Library

Document the convention in STYLE.md (single consistent line-icon set per
Cards grid, applied to every card; no emoji, no mixed brand logos).
Copilot AI review requested due to automatic review settings July 16, 2026 06:30
@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-rustfs-com Ready Ready Preview, Comment Jul 16, 2026 6:31am

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
docs-rustfs-com b5f3101 Commit Preview URL

Branch Preview URL
Jul 16 2026, 06:31 AM

@overtrue
overtrue merged commit bebe5cc into main Jul 16, 2026
4 checks passed
@overtrue
overtrue deleted the docs-home-icons branch July 16, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants